package com.jf.identity.entity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

/**
 * 考生信息
 *
 * @author FCG
 */
public class Examinee implements Serializable {
    private static final long serialVersionUID = -2130547150129352099L;
    /**
     * 生成考生签到uid;考生验证信息uid
     */
    private String uid;
    /**
     * 考生考号 最大50字符
     */
    @NotBlank(message = "考生号不能为空")
    @Size(max = 50, message = "考生考号 最大50字符")
    private String examineeNum;
    /**
     * 考生身份证号 最大18字符
     */
    @NotBlank(message = "身份证号 不能为空")
    @Size(max = 18, message = "身份证号 最大18字符")
    private String idCardNum;
    /**
     * 签到时间;验证时间
     */
    @NotNull(message = "签到时间 不能为空 ")
    private Date dateTime;
    /**
     * 备注 最大200字符
     */
    @Size(max = 200, message = "备注 最大200字符")
    private String remark;
    private String verifyTypeId;
    private String verifyResult;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getExamineeNum() {
        return examineeNum;
    }

    public void setExamineeNum(String examineeNum) {
        this.examineeNum = examineeNum;
    }

    public String getIdCardNum() {
        return idCardNum;
    }

    public void setIdCardNum(String idCardNum) {
        this.idCardNum = idCardNum;
    }

    public Date getDateTime() {
        return dateTime;
    }

    public void setDateTime(Date dateTime) {
        this.dateTime = dateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getVerifyTypeId() {
        return verifyTypeId;
    }

    public void setVerifyTypeId(String verifyTypeId) {
        this.verifyTypeId = verifyTypeId;
    }

    public String getVerifyResult() {
        return verifyResult;
    }

    public void setVerifyResult(String verifyResult) {
        this.verifyResult = verifyResult;
    }

    @Override
    public String toString() {
        return "Examinee{" +
                "uid='" + uid + '\'' +
                ", examineeNum='" + examineeNum + '\'' +
                ", idCardNum='" + idCardNum + '\'' +
                ", dateTime=" + dateTime +
                ", remark='" + remark + '\'' +
                ", verifyTypeId='" + verifyTypeId + '\'' +
                ", verifyResult='" + verifyResult + '\'' +
                '}';
    }
}
